using B.S.BasicData.Domain;
using Microsoft.EntityFrameworkCore;


namespace B.S.BasicData.Infrature
{
    /// <summary>
    /// 6666666666666666666666666666
    ///11111111111111111111
    /// </summary>
    public class AppDbContext : DbContext
    {
        public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }

        public DbSet<User> Users { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<UserRole> UserRoles { get; set; }

        public DbSet<ImageInfo> ImageInfos { get; set; }

        public DbSet<ProductName> ProductNames { get; set; }

        public DbSet<Proindexinfo> proindexinfos { get; set; }

        //��ֳ��Ϣ��ʵ��
        public DbSet<BreedingInfo> BreedingInfos { get; set; }

        public DbSet<BreedingImmunityInfo> BreedingImmunityInfos { get; set; }

        public DbSet<BreedingEnterpriseInfo> BreedingEnterpriseInfos { get; set; }

        // 屠宰信息表实体
        public DbSet<SlaughterInfo> SlaughterInfos { get; set; }

        // 屠宰企业信息表实体
        public DbSet<SlaughterEnterpriseInfo> SlaughterEnterpriseInfos { get; set; }

        // 深加工信息表实体
        public DbSet<DeepProcessingInfo> DeepProcessingInfos { get; set; }

        // 深加工企业信息表实体
        public DbSet<DeepProcessingEnterpriseInfo> DeepProcessingEnterpriseInfos { get; set; }

        // 供应商类型表实体
        public DbSet<SupplierType> SupplierTypes { get; set; }

        // 供应商信息表实体
        public DbSet<SupplierInfo> SupplierInfos { get; set; }

    }
} 